<?php
/* @var $this UserScheduleController */
/* @var $model User */

$this->breadcrumbs=array(
	'Management'=>array('/site/management/'),
	'User Schedules',
);


?>

<h1>Manage User Schedules</h1>
<p>

<h3>Select an User</h3>

<?php echo CHtml::beginForm(); ?>
<?php echo CHtml::dropDownList('id',
						'', 
						CHtml::listData(User::model()->findAll(array('condition'=>'team ='.Yii::app()->user->team_id, 'order'=>'username ASC')),
															   'iduser',
															   'username'),
						array('submit'=> CController::createUrl('schedule/admin'),
							  //'type'=>'GET',
							  'empty'=> 'Select User',
							  'class' => 'dropusername',
							  )
						);
?>
<?php echo CHtml::endForm(); ?>


<br>
<br>


</p>